projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d56fbc3
)
Fix wisent/python.el grammar warning
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 24 Feb 2021 17:29:25 +0000
(18:29 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 24 Feb 2021 17:29:25 +0000
(18:29 +0100)
* lisp/cedet/semantic/wisent/python.el: Fix warning about
shift/reduce conflicts in the Python grammar.
lisp/cedet/semantic/wisent/python.el
patch
|
blob
|
history
diff --git
a/lisp/cedet/semantic/wisent/python.el
b/lisp/cedet/semantic/wisent/python.el
index 7769ad1961b06d373127a41be4b6a0fbffb8a32c..74f190c08606ba569bc7c453032564676d8e5143 100644
(file)
--- a/
lisp/cedet/semantic/wisent/python.el
+++ b/
lisp/cedet/semantic/wisent/python.el
@@
-33,6
+33,11
@@
;; for optional functionality
(require 'python nil t)
+;; Tell wisent how many shift/reduce conflicts are to be expected by
+;; this grammar.
+(eval-and-compile
+ (defconst wisent-python--expected-conflicts 4))
+
(require 'semantic/wisent)
(require 'semantic/wisent/python-wy)
(require 'semantic/find)